package com.ruoyi.web.controller.bpmn;

import com.ruoyi.common.core.controller.BaseController;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @description: TODO
 * @Author: Zhuzhi
 * @Date: 2020/12/16 下午5:14
 */
@Controller
@RequestMapping("/bpmn/diagram")
public class DiagramController extends BaseController {
    private String prefix = "bpmn/diagram";

    @RequiresPermissions("bpmn:diagram:view")
    @GetMapping()
    public String diagram() {
        return prefix + "/diagram";
    }

}
